import request from '@/utils/request';

//查询饼状图数据
export const getPieData = ()=>{
  return request.get('/nepv/statistics/aqi/distribution');
}
//查询覆盖率查询
export const getCoverageData = ()=>{
  return request.get('/nepv/statistics/coverage');
}

//查询12个月空气质量趋势
export const getTrendData = ()=>{
  return request.get('/nepv/statistics/aqi/months/graph');
}
//获取检测数量和良好数量
export const getCountData = ()=>{
  return request.get('/nepv/statistics/aqi/total');
}

//获取柱状图数据
export const getBarData = ()=>{
  return request.get('/nepv/provinces/graph');
}
